<SCRIPT language=javascript type=text/javascript>
<!--

var loop = true;    // toggle on/off
var xpos = "20";    // left distance
var ypos = "20";    // top distance
var wide = "325";   // layer width
var rate = "125";   // change speed

var tnum = "1";
var t = new Array();  
t[1] = "Cada linha...";
t[2] = "corresponde a uma frase."; 
t[3] = "Digite quantas linhas... "; 
t[4] = "forem necessrias...";
t[5] = "para escrever seu texto.";
t[6] = "No esquea... ";
t[7] = "de aumentar o valor numrico entre os colchetes....";
t[8] = "en cada uma delas! ";
t[9] = "Lembre-se de s inserir este Script... ";
t[10] = "depois de colocar as figuras e papel de carta na mensagem. ";


var cnum = "1";
var c = new Array();
c[1] = "whitesmoke";
c[2] = "lightgrey";
c[3] = "silver";
c[4] = "darkgray";
c[5] = "gray";
c[6] = "dimgray";
c[7] = "black";
c[8] = "black";
c[9] = "black";
c[10] = "dimgray";
c[11] = "gray";
c[12] = "darkgray";
c[13] = "silver";
c[14] = "lightgrey";
c[15] = "whitesmoke";

if(document.layers)document.write("<layer name='hi' Left='"+xpos+"' Top='"+ypos+"' Width='"+wide+"'></layer>");
if(document.all)document.write("<div id='hi' style='position:absolute;left:"+xpos+";top:"+ypos+";width:"+wide+"'></div>");

function glow()
{
	if(document.layers)
	{
		if(tnum < t.length)
		{
			if(cnum < c.length)
			{
				document.layers["hi"].document.write("<font color='"+c[cnum]+"'>"+t[tnum]+"</font>");
				document.layers["hi"].document.close();
				cnum++;
			}
			else
			{	
        cnum = 1;
			  tnum++;
        if(loop)
        {
          if(tnum == t.length) tnum = 1;
        }
			}
  		setTimeout("glow()",rate);
		}
    else
    {
      document.layers["hi"].document.write("");
	    document.layers["hi"].document.close();
    }
	}

  if(document.all)
	{
	  if(tnum < t.length)
		{
			if(cnum < c.length)
			{
				document.all("hi").innerHTML = "<font color='"+c[cnum]+"'>"+t[tnum]+"</font>";
				cnum ++;
			}	
			else
			{
			  cnum = 1;
        tnum ++;
        if(loop)
        {
          if(tnum == t.length) tnum = 1;
        }
			}
	    setTimeout("glow()",rate);
		}
    else document.all("hi").innerHTML = "";
	}
}

onload=glow;

//-->
</SCRIPT>
